package com.victor.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.victor.entity.GlReply;
@Mapper
public interface GlReplyDao {
    int deleteByPrimaryKey(Integer rid);
    /**
     * 添加
     * @param record
     * @return
     */
    boolean insertSelective(GlReply record);

    GlReply selectByPrimaryKey(Integer rid);

    int updateByPrimaryKeySelective(GlReply record);
    /**
     * 根据评论id查询
     * @return
     */
    List<GlReply> selByCid(String cid);

}